package com.cn.springcloudshop.mapper;

import com.cn.springcloudshop.model.YmShopOrderProduct;
import com.cn.springcloudshop.model.YmShopOrderProductExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YmShopOrderProductMapper {
    int countByExample(YmShopOrderProductExample example);

    int deleteByExample(YmShopOrderProductExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YmShopOrderProduct record);

    int insertSelective(YmShopOrderProduct record);

    List<YmShopOrderProduct> selectByExample(YmShopOrderProductExample example);

    YmShopOrderProduct selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YmShopOrderProduct record, @Param("example") YmShopOrderProductExample example);

    int updateByExample(@Param("record") YmShopOrderProduct record, @Param("example") YmShopOrderProductExample example);

    int updateByPrimaryKeySelective(YmShopOrderProduct record);

    int updateByPrimaryKey(YmShopOrderProduct record);
}